package com.yinhai.redis.cluster.model;

import com.yinhai.redis.cluster.KeyMatchers;

import redis.clients.jedis.JedisPool;

/**
 * 
 * @author dreamlee
 *
 */
public class ShardHolder {
	
	private ShardInfo info;
	
	private KeyMatchers matcher;
	
	private JedisPool pool;

	public ShardInfo getInfo() {
		return info;
	}

	public void setInfo(ShardInfo info) {
		this.info = info;
	}

	public JedisPool getPool() {
		return pool;
	}

	public void setPool(JedisPool pool) {
		this.pool = pool;
	}

	public KeyMatchers getMatcher() {
		return matcher;
	}

	public void setMatcher(KeyMatchers matcher) {
		this.matcher = matcher;
	}
}
